package com.java.example.network.response

data class BaseResponse<T>(
    val code: Int,
    val message: String?,
    var data: T?,
) {
    fun isSuccess(): Boolean {
        return code == 0
    }
}